import { httpDelete, httpGet, httpPost, httpPut } from "@/utils/http";


export function getOrganizationApi(data?: object) {
    return httpPost('/organizations/search', data);
}
export function deleteOrganizationDataApi(data: object) {
    return httpDelete('/organizations/remove', data);
}
export function addOrganizationDataApi(data: object) {
    return httpPost('/organizations/add', data);
}
export function updateOrganizationDataApi(data: object) {
    return httpPut('/organizations/update', data);
}
export function updateOrganizationDataByIdApi(data: object) {
    return httpGet('/organizations/detail', data);
}
